package com.loopy.fruns.dao;

import com.loopy.fruns.entity.Furn;
import com.loopy.fruns.entity.PageVO;

import java.util.List;

public interface FurnDAO {
    public List<Furn> queryFurns();
    public int addFurn(Furn furn);

    int deleteFurnById(Integer id);

    Furn queryFurnById(Integer id);

    int updateFurn(Furn furn);
    List<Furn> getPageItem(int begin,int pageSize);
    int getTotalRow();
    int getTotalRowByName(String name);
    List<Furn> getPageItemByName(String name,int begin,int pageSize);
}
